<extend name="Index/index" />

<block name="Main content">

    <div style="padding:20px">

        <div class="col-md-6">
                <form action="<{:U('User/save')}>" method="post" onsubmit="return checkForm()">

                      <div class="form-group  col-md-10">
                            <div class="col-md-3">账号</div>
                            <div class="col-md-8"><input type="text" class=" form-control" name="name" value="<{$data.name}>"></div>
                      </div>

                      <div class="col-md-2"></div>


                      

                        <div class="form-group  col-md-10">
                            <div class="col-md-3">密码</div>
                            <div class="col-md-8"><input type="password" class=" form-control" name="pass" placeholder="密码6-32位" value="<{$data.pass}>"></div>
                      </div>
                      


                      <div class="form-group  col-md-10">
                            <div class="col-md-3">手机号</div>
                            <div class="col-md-8"><input type="text" class=" form-control" name="tel" value="<{$data.tel}>"></div>
                      </div>
  
                      <div class="col-md-2"></div>


                      <div class="form-group  col-md-10">
                            <div class="col-md-3">邮箱</div>
                            <div class="col-md-8"><input type="text" class=" form-control" name="email" value="<{$data.email}>"></div>
                      </div>
  
                      <div class="col-md-2"></div>
                      <div class="form-group col-md-5 col-md-offset-3">
                          <input type="submit" class="btn btn-primary col-md-12" value="确认修改">
                      </div>

                      <!-- 隐藏域 -->
                      <input type="hidden" name="id" value="<{$data.id}>">
                </form>
            </div>
        </div>
</block>

<block name="myjs">

<script>
    
</script>

</block>
